import './App.css'
import { Layout } from 'antd';
import { Outlet } from 'react-router-dom';

const { Content } = Layout;

export default function App() {
  return (
    <Layout style={{ minHeight: '100vh', background: '#f9f9f9' }}>
      <div style={{ textAlign: 'center', padding: '10px', backgroundColor: '#52c41a', color: 'white' }}>
        仪表盘页面
      </div>
      <Content style={{ margin: '0 auto', width: '100%', maxWidth: '800px' }}>
        <Outlet />
      </Content>
    </Layout>
  );
}
